package com.hrpmar.pojo;


import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 药品盘点明细表
 */
public class Invdetails extends BasePojo {

  private Integer indId;                      //药品盘点明细序号
  private String invNum;                      //盘点单号(药品盘点主表编号)
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  private Date indValiddate;                  //有效日期
  private String drugNum;                     //药品编号
  private Integer indStock;                   //系统库存
  private Integer indAcstock;                 //实际库存
  private int indUpstate;                     //修正状态(0:已修正 1:未修正)
  private String invLotnum;                   //批号
  /**
   * 创建人，创建时间，修改人，修改时间 继承自父类
   * @return
   */

  private Inventorying inventorying;          //药品盘点主表对象
  private Druginfo druginfo;                  //药品信息对象
  private Drugstock drugstock;                //库存

  public Integer getIndId() {
    return indId;
  }

  public void setIndId(Integer indId) {
    this.indId = indId;
  }

  public String getInvNum() {
    return invNum;
  }

  public void setInvNum(String invNum) {
    this.invNum = invNum;
  }

  public Date getIndValiddate() {
    return indValiddate;
  }

  public void setIndValiddate(Date indValiddate) {
    this.indValiddate = indValiddate;
  }

  public String getDrugNum() {
    return drugNum;
  }

  public void setDrugNum(String drugNum) {
    this.drugNum = drugNum;
  }

  public Integer getIndStock() {
    return indStock;
  }

  public void setIndStock(Integer indStock) {
    this.indStock = indStock;
  }

  public Integer getIndAcstock() {
    return indAcstock;
  }

  public void setIndAcstock(Integer indAcstock) {
    this.indAcstock = indAcstock;
  }

  public int getIndUpstate() {
    return indUpstate;
  }

  public void setIndUpstate(int indUpstate) {
    this.indUpstate = indUpstate;
  }

  public String getInvLotnum() {
    return invLotnum;
  }

  public void setInvLotnum(String invLotnum) {
    this.invLotnum = invLotnum;
  }

  public Inventorying getInventorying() {
    return inventorying;
  }

  public void setInventorying(Inventorying inventorying) {
    this.inventorying = inventorying;
  }

  public Druginfo getDruginfo() {
    return druginfo;
  }

  public void setDruginfo(Druginfo druginfo) {
    this.druginfo = druginfo;
  }

  public Drugstock getDrugstock() {
    return drugstock;
  }

  public void setDrugstock(Drugstock drugstock) {
    this.drugstock = drugstock;
  }

  @Override
  public String toString() {
    return "Invdetails{" +
            "indId=" + indId +
            ", invNum='" + invNum + '\'' +
            ", indValiddate=" + indValiddate +
            ", drugNum='" + drugNum + '\'' +
            ", indStock=" + indStock +
            ", indAcstock=" + indAcstock +
            ", indUpstate=" + indUpstate +
            ", invLotnum='" + invLotnum + '\'' +
            ", inventorying=" + inventorying +
            ", druginfo=" + druginfo +
            ", drugstock=" + drugstock +
            '}';
  }
}
